Ext.define('AM.view.user.UserMemberOfView', {
    extend: 'Ext.grid.Panel',
    xtype: 'userMemberOfView',
    store: 'UserMemberOf',
    stateful: true,
    collapsible: true,
    multiSelect: true,
    stateId: 'stateUserMemberOfView',
    viewConfig: {
        stripeRows: true,
        enableTextSelection: true
    },

    initComponent: function () {
        this.width = 350;
        this.columns = [
            {
                text     : 'Name',
                width    : 115,
                sortable : true,
                dataIndex: 'Name'
            },
			{
                text     : 'SAM Account Name',
                width    : 115,
                sortable : true,
                dataIndex: 'SamAccountName'
            },
			{
                text     : 'Group Type',
                width    : 115,
                sortable : true,                
                dataIndex: 'GroupType'
            },
            {
                text     : 'Description',
                width    : 115,
				flex     : 1,
                sortable : true,                
                dataIndex: 'Description'
            }            
        ];

        this.callParent();
    }
});